<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="com.shxt.model.*" %>
<%
	String username = (String)session.getAttribute("username");
	String userid = (String)session.getAttribute("userid");
	CreateNetdisk cn = new CreateNetdisk();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Insert title here</title>
<link href="CSS/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="netdisk/st1.netdisk/js/netdisk.js" charset="utf-8"></script>
<script type="text/javascript">
var  highlightcolor='#eafcd5';
var  clickcolor='#51b2f6';
function  changeto(){
	source=event.srcElement;
	if  (source.tagName=="TR"||source.tagName=="TABLE")
	return;
	while(source.tagName!="TD")
	source=source.parentElement;
	source=source.parentElement;
	cs  =  source.children;
	//alert(cs.length);
	if  (cs[1].style.backgroundColor!=highlightcolor&&source.id!="nc"&&cs[1].style.backgroundColor!=clickcolor)
	for(var i=0;i<cs.length;i++){
		cs[i].style.backgroundColor=highlightcolor;
	}
}

function  changeback(){
	if  (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="nc")
	return
	if  (event.toElement!=source&&cs[1].style.backgroundColor!=clickcolor)
	//source.style.backgroundColor=originalcolor
	for(var i=0;i<cs.length;i++){
		cs[i].style.backgroundColor="";
	}
}

</script>
</head>
<body>
	<div id="warp">
		<div id="header">
			<div id="headed">
				<h1>
					
				</h1>
				<ul class="ul1">
					<li><a href="#">首页</a></li>
					<li><a href="#">网盘</a></li>
					<li><a href="#">外链</a></li>
				</ul>
				<input type="text" value="" class="input1" onBlur="test()"/> <input type="button"
					value="" class="input2" /> <span  id="userid">用户名:<%=username %></span>
				<ul class="ul2">
					<li><a href="#">消息</a></li>
					<li><a href="#">设置<img src="images/img/icon1.gif"
							alt="icon" title="" /></a></li>
					<li><a href="#">邀请</a></li>
					<li><a href="#">换肤<img src="images/img/icon2.gif"
							alt="icon" title="" /></a></li>
					<li><a href="#">退出</a></li>
				</ul>
			</div>
		</div>
		<div id="content">
			<div id="con">
				<div id="meun">
					<img src="images/img/left_top.gif" alt="icon" title="" />
					<div class="meun_con" id = "">
						<h2>
							<img src="images/img/icon3.gif" alt="icon" title="" />我的网盘
						</h2>
						<ul>
							<li><img src="images/img/icon4.gif" alt="" title="" /><a href="javascript:getDisk(123,505)" >我的文件</a></li>
							<li><img src="images/img/icon5.gif" alt="" title="" /><a href="#" onClick="test()">我收到的文件</a></li>
							<li><img src="images/img/icon6.gif" alt="" title="" /><a href="javascript:test()">照片</a></li>
							<li><img src="images/img/icon6.gif" alt="" title="" /><a href="#" onClick="tett()">文档</a></li>
							<li><img src="images/img/icon6.gif" alt="" title="" /><a href="#">软件</a></li>
						</ul>
					</div>
					<div class="xian">
						<img src="images/img/xian.gif" alt="" title="" />
					</div>
					<div class="laji">
						<img src="images/img/icon7.gif" alt="" title="" /><a href="#">回收站</a>
					</div>
					<img src="images/img/left_bot.gif" alt="icon" title="" />
				</div>
				<div class="right">
					<div class="right_left">
						<div class="right_top">我的网盘</div>
						<div class="right_top2">
							<input type="button" value="上传文件" class="input3" onclick="javascript:window.location.href='upload.jsp'" /> <input
								type="button" value="新建文件夹" class="input4" /> <a href="#"><img
								src="images/img/icon8.gif" alt="icon" title="icon" class="img4" /></a>
						</div>
						<div class="tab_div">
							<table width="735" border="0" cellpadding="0" cellspacing="0"
								class="table1">
								<tr>
									<td width="386" height="27" align="left" valign="top"
										background="images/img/right_bg3.gif"><span class="span1">文件名</span><img
										src="images/img/icon10.gif" alt="icon" title="icon"
										class="img5" /></td>
									<td width="106" align="left" valign="top"
										background="images/img/right_bg3.gif"><span class="span2">大小</span><img
										src="images/img/icon10.gif" alt="icon" title="icon"
										class="img5" /></td>
									<td width="104" align="left" valign="top"
										background="images/img/right_bg3.gif"><span class="span1">类型</span></td>
									<td width="139" align="left" valign="top"
										background="images/img/td_bg.gif"><a href="#" class="a2">修改时间</a><img
										src="images/img/icon9.gif" alt="icon" title="icon"
										class="img6" /></td>
								</tr>
							</table >
							<table width="735" border="0" cellpadding="0" cellspacing="0" id="message"
								onmouseover="changeto()" onMouseOut="changeback()"
								class="table1">
							</table>
						</div>
						<div class="right_bot">
							<span class="span3">共有文件夹5个，文件0个</span>
						</div>
					</div>
					<div class="right_right"></div>
				</div>
			</div>
		</div>
		<div class="footer">
			windows版 windows版 windows版 苏ICP备34239482号 Coryright 2009-2012
			huaiwiewewsdfsdfsdfsdf &nbsp; <a href="#">网盘介绍 </a>|<a href="#">
				帮助介绍 </a>|<a href="#">论坛 </a>|<a href="#"> 帮助中心</a>
		</div>
	</div>
</body>
</html>